package ualrcdg.client;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

/**
 * This class is just a fake game to test
 * the CDG Client application.
 * Continues to {@link GameFetcherActivity}
 */
public class FakeGameActivity extends Activity {

	protected CDGApplication App = (CDGApplication) this.getApplication();
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.fakegamelayout);
		
		final FakeGameActivity FG = this;
		final Button Submit = (Button) findViewById(R.id.button1);
		
		Submit.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
            	Toast.makeText(FG, "You finished the Game", Toast.LENGTH_SHORT).show();
            }
        }); 
	}

}
